﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 第六次作业
{
    internal class Class
    {
        private School belong;
        private int classid;

        public Class()
        {
        }

        public Class(School belong, int classid)
        {
            this.belong = belong;
            this.classid = classid;
        }

        public void setbelong(School s)
        {
            belong = s;
        }

        public School getbelong()
        {
            return belong;
        }

        public void setclassid(int id)
        {
            classid = id;
        }

        public int getclassid()
        {
            return classid;
        }
    }
}
